package com.example.authoritymanageaopproject;

import android.util.Log;

import com.example.authoritymanageaopproject.aop.AuthorityAnn;

/**
 * 类名：Boss<br></br>
 * 主要功能：<br></br>
 * 创建日期：05/09/2017  17:05
 */

public class Boss extends Person {
    private static final int LEVEL=5;
    public Boss(String name) {
        super(name);
    }

    @AuthorityAnn(LEVEL)
    public void openDB() {
        Log.d("Boss", "open the DB");
    }
}
